<script type="text/javascript" >
$(document).ready(function(){
	$("#tgl_mulai,#tgl_selesai").datepicker({
		dateFormat: 'yy-mm-dd'
	});
});
</script>
<div class="outer-fill shadow padding15">
<!-- style untuk judul -->
            <div class="judul-page">
              Tambah Magang
            </div>
<div class="col-md-12">
              <form class="form-horizontal" role="form" method="post" action="<?php echo site_url('admin_magang/proses_add')?>" enctype="multipart/form-data" onsubmit="return gsValidate('judul','Judul Harus Diisi','required');">
                <div class="form-group">
                  <label class="col-lg-2 control-label">Peserta</label>
                  <div class="col-lg-10">
                    <input type="text" name="asal_peserta" id="judul" class="form-control input-sm" placeholder="Judul">
                  </div>
                </div>
				
				        <div class="form-group">
                  <label class="col-lg-2 control-label">Tgl Mulai</label>
                  <div class="col-lg-10">
                    <input type="text" name="tgl_mulai" id="tgl_mulai" class="form-control input-sm" placeholder="Tanggal mulai" readonly/>
                  </div>
                </div>

                <div class="form-group">
                  <label class="col-lg-2 control-label">Tgl Selesai</label>
                  <div class="col-lg-10">
                    <input type="text" name="tgl_selesai" id="tgl_selesai" class="form-control input-sm" placeholder="Tanggal selesai" readonly/>
                  </div>
                </div>
                
                <div class="form-group">
                  <label class="col-lg-2 control-label">Divisi</label>
                  <div class="col-lg-10">
                    <select name="id_divisi" class="form-control input-sm">
                      <option value="1">Software and Development</option>
                      <option value="2">Infrastruktur</option>
                      <option value="3">Internet Service Provider</option>
                    </select>
                  </div>
                </div>
                
               
                <div class="form-group">
                  <div class="col-lg-offset-2 col-lg-10">
                    <button type="submit" class="btn btn-primary btn-sm" name="simpan">Simpan</button>
                    <button type="reset" class="btn btn-warning btn-sm" name="reset">Reset</button>
                  </div>
                </div>
              </form>
            </div>
<div class="clearfix"></div>
</div>